import axios from '../request'

// 获取用户信息
const getUserInfoApi = (data?: Object) => axios.get('/manage/userInfo/find', { params: data })

// 用户搜索
const searchUserApi = (data: Object) => axios.post('/manage/userInfo/search', data)

// 用户删除
const delUserApi = (data: Object) => axios.post('/manage/userInfo/del', data)

// 用户搜索
const upUserApi = (data: Object) => axios.post('/manage/userInfo/upStatus', data)

export {
  getUserInfoApi,
  searchUserApi,
  upUserApi,
  delUserApi
}